package cn.fangline.wo.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 抽离
 * @since 2017-04-21
 */
public class Zone extends Model<Zone> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value="zone_id", type= IdType.AUTO)
	private Integer zoneId;
    /**
     * 商圈名称
     */
	@TableField("zone_name")
	private String zoneName;
    /**
     * URL
     */
	private String url;
    /**
     * 网站
     */
	private Integer net;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;

	@TableField("city_id")
	private Integer cityId;


	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public Integer getZoneId() {
		return zoneId;
	}

	public void setZoneId(Integer zoneId) {
		this.zoneId = zoneId;
	}

	public String getZoneName() {
		return zoneName;
	}

	public void setZoneName(String zoneName) {
		this.zoneName = zoneName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getNet() {
		return net;
	}

	public void setNet(Integer net) {
		this.net = net;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.zoneId;
	}

}
